﻿@model RiderShop.Mobile.Modle.CustomerModel
@section header
{
    <link href="~/Themes/RongJi/Style/base/css/login.css" rel="stylesheet">
}
@section title
{
    用户登录
}
<div class="main-wrapper">
    <form action="~/Customer/Login" id="loginForm" method="post">
        <div class="item">
            <label>用户名：</label>
            <input type="text" id="userName" name="userName" class="cmnTInput" placeholder="请输入用户名、手机或邮箱" />
            <span class="require">*</span>
        </div>
        <div class="item">
            <label>密　码：</label>
            <input type="password" id="password" name="passWord" class="cmnTInput" placeholder="请输入密码" />
            <span class="require">*</span>
        </div>
        <div class="item">
            <label></label>
            <label><input name="rememberUser" id="rememberUser" type="checkbox">记住用户名</label>
        </div>
        @if (Model.Result != null && !Model.Result.Status && Model.Result.ErrorMessage != null)
        {
            <div class="item">
                <label></label>
                <div class="error">@Model.Result.ErrorMessage</div>
            </div>
        }
        <div class="btnGroup">
            <input type="hidden" id="returnUrl" name="returnUrl" value="@Model.ReturnUrl" />
            <input type="submit" value="登录" class="rjbtn rjbtnGreen">
        </div>
        <div class="btnGroup">
            忘记登录密码了？<a href="GetPass">找回密码</a><br>
            还不是蓉记鲜鲜鲜会员？<a href="~/Customer/Register?returnUrl=@System.Web.HttpUtility.UrlEncode(Model.ReturnUrl)">立即注册</a>
        </div>
        <div class="extra">
            <div class="extra-info">还可以使用合作网站账号登录蓉记鲜鲜鲜商城</div>
            <label class="oauth-btns">
                <a href="/OAuth/Login?type=1" class="btns btn-qq">腾讯QQ</a>
                <a href="/OAuth/Login?type=2" class="btns btn-weibo">新浪微博</a>
            </label>
        </div>
    </form>
</div>

@section footer
{
    <script src="~/Themes/RongJi/Style/base/js/login.js"></script>
}
